/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package battleship_client;

/**
 *
 * @author jalejandrovc
 */
public class PlayerDataStruct {

    private static String username;
    private static String password;
    private static String email;
    private static String name;

    public static boolean isDataDifferent(String _name, String _username, String _password, String _email){
        return !(_name.equals(name) && _username.equals(username) && _password.equals(password) && _email.equals(email));
    }

    /**
     * @return the username
     */
    public static String getUsername() {
        return username;
    }

    /**
     * @return the password
     */
    public static String getPassword() {
        return password;
    }

    /**
     * @return the email
     */
    public static String getEmail() {
        return email;
    }

    /**
     * @return the name
     */
    public static String getName() {
        return name;
    }

    /**
     * @param aUsername the username to set
     */
    public static void setUsername(String aUsername) {
        username = aUsername;
    }

    /**
     * @param aPassword the password to set
     */
    public static void setPassword(String aPassword) {
        password = aPassword;
    }

    /**
     * @param aEmail the email to set
     */
    public static void setEmail(String aEmail) {
        email = aEmail;
    }

    /**
     * @param aName the name to set
     */
    public static void setName(String aName) {
        name = aName;
    }
}
